package io.lkt.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 推广结算信息表
 *
 * @author xss
 * @email dustwas@163.com
 * @date 2019-04-13 09:39:25
 */
@Data
@TableName("b_user_promotion_settle_info")
public class BUserPromotionSettleInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
@TableId
private Integer id;
	/**
	 * 用户ID
	 */
private Integer userId;
	/**
	 * 一级分成比例，10即表示10%
	 */
private Double firstLevelProportion;
	/**
	 * 二级分成比例，5即表示5%
	 */
private Double secondLevelProportion;
    /**
     * 三级分成比例
     */
private Double thirdLevelProportion;
	private Integer fourthLevelProportion;//4级比例

	private Integer fifthLevelProportion;//5级比例

	/**
	 * 累计收入
	 */
private Double cumulativeIncome;
	/**
	 * 一级累计收入
	 */
private Double firstLevelCumulativeIncome;
	/**
	 * 二级累计收入
	 */
private Double secondLevelCumulativeIncome;
    /**
     * 三级累计收入
     */
private Double thirdLevelCumulativeIncome;

	private Double fourthLevelCumulativeIncome;//4级收入

	private Double fifthLevelCumulativeIncome;//5级收入

	/**
	 * 佣金抵扣总金额
	 */
private Double allBrokerage;

	/**
	 * 已结算收入
	 */
private Double settledIncome;
	/**
	 * 创建时间
	 */
private Date createTime;
	/**
	 * 修改时间
	 */
private Date modifyTime;

private String settleDesc;


    /**
     * 账户余额
     */
    @TableField(exist=false)
    private Double accountBalance;

}
